package com.example.tests; 

import org.junit.*;
import com.example.common.HskFunctions;
import com.example.common.TestBase;

public class AdminEmailChange extends TestBase{
 
	@Test
    public void testAdminEmailChange() throws Exception{
		String domPart = HskFunctions.generateRandomName("test", 10);
		goToMainPage()
				.loginWithValidCredentials("admin",	"admin").gotoMyProfilePage()
				.changeEmailTo("admin@" + domPart + ".ru")
				.logout();
    }
}